<div class="box">
  <div class="top"><img src="catalog/view/theme/default/image/latest.png" alt="" />
  <a href="index.php?route=webboard/board"><?php  echo $heading_title; ?></a>
  </div>
  <div class="middle">

<?php 
   foreach ($show_board as $ask_post) {
     if (iconv_strlen($ask_post['title'],"utf-8") > 15) {$ask=iconv_substr($ask_post['title'],0,15,"utf-8")."...";}else{$ask=$ask_post['title'];}
?>
<a href="index.php?route=webboard/read_board&id=<?php echo $ask_post['ask_id']?>" title="<?php echo $ask_post['title']?>">
 <?php echo $ask;?></a> 
 		   <?php  if ($ask_post['new'] <= $webboard_day) {?>
		   <img src="catalog/view/theme/default/image/new.gif" alt="new" />
		   <?php  } ?>
		--- [ <?php echo $ask_post['number_reply']?> ] 
		   <?php  if ($ask_post['new_reply'] <= $webboard_day) {?>
		   <img src="catalog/view/theme/default/image/new.gif" alt="new" />
		   <?php  } ?>
    <br />
 <?php  } //end foreach ?>
  </div>
  <div class="bottom">&nbsp;</div>
</div>
